package com.ruoyi.project.system.member.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import com.ruoyi.project.system.cardstylebackground.domain.CardStyleBackground;
import com.ruoyi.project.system.cardstyleshow.domain.CardStyleShow;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 小程序用户对象 member
 *
 * @author f_baisi
 * @date 2020-06-09
 */
public class Member extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 角色 */
    @Excel(name = "角色")
    private Integer role;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    /** 微信号 */
    @Excel(name = "微信号")
    private String wechat;

    /** 性别 */
    @Excel(name = "性别")
    private Integer sex;

    /** 唯一的openId */
    private String openid;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String headpic;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String username;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String name;

    /** 用户密码(授权登录的话 暂时没用) */
    private String password;

    /** token */
    private String token;

    /** 账户状态 */
    @Excel(name = "账户状态")
    private Integer status;

    /** 推荐人ID */
    @Excel(name = "推荐人ID")
    private String introUser;

    /** 推荐人数量 */
    @Excel(name = "推荐人数量")
    private Long recommendNum;

    /** 好奇币数量 */
    @Excel(name = "好奇币数量")
    private BigDecimal haoqiCoin;

    /** 身份证编号 */
    @Excel(name = "身份证编号")
    private String idCard;

    /** 身份证正面访问路径 */
    private String cardHeaderImg;

    /** 身份证正面真实路径 */
    private String cardHeaderRealPath;

    /** 身份证背面访问路径 */
    private String cardBackImg;

    /** 身份证背面真实路径 */
    private String cardBackRealPath;

    /** 是否审核通过 0 未完善 1 待审核 2 通过 3 不通过*/
    @Excel(name = "是否审核通过 0 未完善 1 待审核 2 通过 3 不通过")
    private Integer isExamine;

    /** 是否是会员 0 不是 1 是 */
    @Excel(name = "是否是会员 0 不是 1 是")
    private Integer isVip;

    /** 会员结束时间 */
    @Excel(name = "会员结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
    private Date vipEndTime;

    @Excel(name = "是否是家禽钻石VIP")
    private Integer isJqVip;

    @Excel(name = "钻石会员结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
    private Date jqVipEndTime;

    private Integer isHqg;

    /** 是否是企业：0-不是 1-是 */
    private Integer isCompany;

    /** 邮箱 */
    private String mailbox;
    /** 省ID */
    private Integer province;
    /** 省名 */
    private String provinceName;
    /** 市ID */
    private Integer city;
    /** 市名 */
    private String cityName;
    /** 区ID */
    private Integer area;
    /** 区名 */
    private String areaName;
    /** 公司 */
    private String corporation;
    /** 职位 */
    private String position;
    /** 行业 */
    private String industry;
    /** 经营理念 */
    private String philosophy;
    /** 主营业务ID */
    private String businessId;
    /** 修改时间 */
    private Date updatedTime;
    /** 关闭发新闻：0-开启 1-关闭 */
    private Integer newsClose;
    /** 订单号 */
    private String orderNo;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getNewsClose() {
        return newsClose;
    }

    public void setNewsClose(Integer newsClose) {
        this.newsClose = newsClose;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    /** 主营业务名 */
    private String business;
    /** 主营介绍 */
    private String synopsis;
    /** 版式 */
    private Integer style;
    /** 捆绑企业ID */
    private String companyId;
    /** 推广标语 */
    private String slogan;
    /** 推广内容 */
    private String article;
    /** 经度*/
    private BigDecimal longitude;
    /** 纬度 */
    private BigDecimal latitude;
    /** 用户或企业ID */
    private String memberCompanyId;
    /** 公司头像 */
    private String companyAvatar;
    /** 经纬度地址 */
    private String address;
    /** 主营业务类型：0-展示选择 1-展示编辑 */
    private Integer businessType;
    /** 编辑主营业务内容 */
    private String businessName;

    /** 距离 */
    private String distance;

    /** 置顶时间 */
    private Date sortTime;

    /** 是否是行情官：0-否，1-是 */
    private Integer quotation;

    public Integer getQuotation() {
        return quotation;
    }

    public void setQuotation(Integer quotation) {
        this.quotation = quotation;
    }

    public Date getSortTime() {
        return sortTime;
    }

    public void setSortTime(Date sortTime) {
        this.sortTime = sortTime;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public Integer getBusinessType() {
        return businessType;
    }

    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCompanyAvatar() {
        return companyAvatar;
    }

    public void setCompanyAvatar(String companyAvatar) {
        this.companyAvatar = companyAvatar;
    }

    public String getMemberCompanyId() {
        return memberCompanyId;
    }

    public void setMemberCompanyId(String memberCompanyId) {
        this.memberCompanyId = memberCompanyId;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public String getSlogan() {
        return slogan;
    }
    public void setSlogan(String slogan) {
        this.slogan = slogan;
    }

    public String getArticle() {
        return article;
    }
    public void setArticle(String article) {
        this.article = article;
    }

    /** 行业名 */
    private String industryName;
    /** 是否收藏：0-否 1-是 */
    private Integer isCollect;

    public Integer getIsCollect() {
        return isCollect;
    }
    public void setIsCollect(Integer isCollect) {
        this.isCollect = isCollect;
    }

    public String getIndustryName() {
        return industryName;
    }
    public void setIndustryName(String industryName) {
        this.industryName = industryName;
    }

    private CardStyleShow cardStyleShow;
    private CardStyleBackground cardStyleBackground;

    public CardStyleBackground getCardStyleBackground() {
        return cardStyleBackground;
    }
    public void setCardStyleBackground(CardStyleBackground cardStyleBackground) {
        this.cardStyleBackground = cardStyleBackground;
    }

    public CardStyleShow getCardStyleShow() {
        return cardStyleShow;
    }
    public void setCardStyleShow(CardStyleShow cardStyleShow) {
        this.cardStyleShow = cardStyleShow;
    }

    public String getMailbox() {
        return mailbox;
    }
    public void setMailbox(String mailbox) {
        this.mailbox = mailbox;
    }

    public Integer getProvince() {
        return province;
    }
    public void setProvince(Integer province) {
        this.province = province;
    }

    public String getProvinceName() {
        return provinceName;
    }
    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public Integer getCity() {
        return city;
    }
    public void setCity(Integer city) {
        this.city = city;
    }

    public String getCityName() {
        return cityName;
    }
    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public Integer getArea() {
        return area;
    }
    public void setArea(Integer area) {
        this.area = area;
    }

    public String getAreaName() {
        return areaName;
    }
    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getCorporation() {
        return corporation;
    }
    public void setCorporation(String corporation) {
        this.corporation = corporation;
    }

    public String getPosition() {
        return position;
    }
    public void setPosition(String position) {
        this.position = position;
    }

    public String getIndustry() {
        return industry;
    }
    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public String getPhilosophy() {
        return philosophy;
    }
    public void setPhilosophy(String philosophy) {
        this.philosophy = philosophy;
    }

    public String getBusiness() {
        return business;
    }
    public void setBusiness(String business) {
        this.business = business;
    }

    public String getSynopsis() {
        return synopsis;
    }
    public void setSynopsis(String synopsis) {
        this.synopsis = synopsis;
    }

    public Integer getStyle() {
        return style;
    }
    public void setStyle(Integer style) {
        this.style = style;
    }

    public String getCompanyId() {
        return companyId;
    }
    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public Integer getIsCompany() {
        return isCompany;
    }

    public void setIsCompany(Integer isCompany) {
        this.isCompany = isCompany;
    }

    public Integer getIsHqg() {
        return isHqg;
    }

    public void setIsHqg(Integer isHqg) {
        this.isHqg = isHqg;
    }

    public Integer getIsJqVip() {
        return isJqVip;
    }

    public void setIsJqVip(Integer isJqVip) {
        this.isJqVip = isJqVip;
    }

    public Date getJqVipEndTime() {
        return jqVipEndTime;
    }

    public void setJqVipEndTime(Date jqVipEndTime) {
        this.jqVipEndTime = jqVipEndTime;
    }

    /** 审核不通过原因 */
    private String reason;

    /** 注册时间 */
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
    private Date created;

    private String qrCode;


    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setRole(Integer role)
    {
        this.role = role;
    }

    public Integer getRole()
    {
        return role;
    }
    public void setMobile(String mobile)
    {
        this.mobile = mobile;
    }

    public String getMobile()
    {
        return mobile;
    }
    public void setWechat(String wechat)
    {
        this.wechat = wechat;
    }

    public String getWechat()
    {
        return wechat;
    }
    public void setSex(Integer sex)
    {
        this.sex = sex;
    }

    public Integer getSex()
    {
        return sex;
    }
    public void setOpenid(String openid)
    {
        this.openid = openid;
    }

    public String getOpenid()
    {
        return openid;
    }
    public void setHeadpic(String headpic)
    {
        this.headpic = headpic;
    }

    public String getHeadpic()
    {
        return headpic;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
    public void setToken(String token)
    {
        this.token = token;
    }

    public String getToken()
    {
        return token;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setIntroUser(String introUser)
    {
        this.introUser = introUser;
    }

    public String getIntroUser()
    {
        return introUser;
    }
    public void setRecommendNum(Long recommendNum)
    {
        this.recommendNum = recommendNum;
    }

    public Long getRecommendNum()
    {
        return recommendNum;
    }
    public void setHaoqiCoin(BigDecimal haoqiCoin)
    {
        this.haoqiCoin = haoqiCoin;
    }

    public BigDecimal getHaoqiCoin()
    {
        return haoqiCoin;
    }
    public void setIdCard(String idCard)
    {
        this.idCard = idCard;
    }

    public String getIdCard()
    {
        return idCard;
    }
    public void setCardHeaderImg(String cardHeaderImg)
    {
        this.cardHeaderImg = cardHeaderImg;
    }

    public String getCardHeaderImg()
    {
        return cardHeaderImg;
    }
    public void setCardHeaderRealPath(String cardHeaderRealPath)
    {
        this.cardHeaderRealPath = cardHeaderRealPath;
    }

    public String getCardHeaderRealPath()
    {
        return cardHeaderRealPath;
    }
    public void setCardBackImg(String cardBackImg)
    {
        this.cardBackImg = cardBackImg;
    }

    public String getCardBackImg()
    {
        return cardBackImg;
    }
    public void setCardBackRealPath(String cardBackRealPath)
    {
        this.cardBackRealPath = cardBackRealPath;
    }

    public String getCardBackRealPath()
    {
        return cardBackRealPath;
    }
    public void setIsExamine(Integer isExamine)
    {
        this.isExamine = isExamine;
    }

    public Integer getIsExamine()
    {
        return isExamine;
    }

    public Integer getIsVip() {
        return isVip;
    }

    public void setIsVip(Integer isVip) {
        this.isVip = isVip;
    }

    public Date getVipEndTime() {
        return vipEndTime;
    }

    public void setVipEndTime(Date vipEndTime) {
        this.vipEndTime = vipEndTime;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public String getQrCode() {
        return qrCode;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("role", getRole())
            .append("mobile", getMobile())
            .append("wechat", getWechat())
            .append("sex", getSex())
            .append("openid", getOpenid())
            .append("headpic", getHeadpic())
            .append("name", getName())
            .append("password", getPassword())
            .append("token", getToken())
            .append("status", getStatus())
            .append("introUser", getIntroUser())
            .append("recommendNum", getRecommendNum())
            .append("haoqiCoin", getHaoqiCoin())
            .append("idCard", getIdCard())
            .append("cardHeaderImg", getCardHeaderImg())
            .append("cardHeaderRealPath", getCardHeaderRealPath())
            .append("cardBackImg", getCardBackImg())
            .append("cardBackRealPath", getCardBackRealPath())
            .append("isExamine", getIsExamine())
            .append("isVip", getIsVip())
            .append("vipEndTime", getVipEndTime())
            .append("reason", getReason())
            .append("username", getUsername())
            .append("created",getCreated())
            .append("mailbox", getMailbox())
            .append("area", getArea())
            .append("corporation", getCorporation())
            .append("position", getPosition())
            .append("industry", getIndustry())
            .append("philosophy", getPhilosophy())
            .append("businessId", getBusinessId())
            .append("business", getBusiness())
            .append("synopsis", getSynopsis())
            .append("style", getStyle())
            .append("companyId", getCompanyId())
            .append("slogan", getSlogan())
            .append("article", getArticle())
            .append("address", getAddress())
            .append("quotation", getQuotation())
            .toString();
    }
}
